CALCulate<Chn>:DATA...    Related Topics

This subsystem provides access to the results of a measurement.

 

Command tree:CALCulate<Chn>

:DATA

:NSWeep?

:STIMulus?

The trace data is transferred in either ASCII or block data (REAL) format, depending on the FORMat[:DATA] setting. If the block data format is used, it is recommended to select EOI as receive terminator (SYSTem:COMMunicate:GPIB[:SELF]:RTERminator EOI).  


CALCulate<Chn>:DATA
FDATa | SDATa | MDATa | SCORr1 | ... | SCORr27

Reads the current response values of the active data trace or memory trace and reads or writes error terms.

<Chn>

Channel number used to identify the active trace. If unspecified the numeric suffix is set to 1.

 

Parameters

See list of parameters below.

Range [def. unit]

The data format is parameter-dependent; see below. The unit is the default unit of the measured parameter; see CALCulate<Ch>:PARameter:SDEFine.  

*RST value

 

SCPI, Command Types

Confirmed, command (for error terms) or query.

 

Example:

*RST; SWE:POIN 20

Create a trace with 20 sweep points, making the created trace the active trace of channel 1 (omitted optional mnemonic SENSe1).  

CALC:DATA? FDAT

Query the 20 response values of the created trace. In the FDATa setting, 20 comma-separated ASCII values are returned.  

CALC:DATA:STIM?

Query the 20 stimulus values of the created trace. 20 comma-separated ASCII values are returned.

 

 

The following parameters are related to trace data (see also Data Flow diagram):

FDATa

Formatted trace data, according to the selected trace format (CALCulate<Chn>:FORMat). 1 value per trace point for Cartesian diagrams, 2 values for polar diagrams.

SDATa

Unformatted trace data: Real and imaginary part of each measurement point. 2 values per trace point irrespective of the selected trace format. The trace mathematics is not taken into account.

MDATa

Unformatted trace data (see SDATa) after evaluation of the trace mathematics.

 

The following parameters denote the error terms generated during a calibration:

Error Term

Description

Receive Ports (S-parameter)

SCORr1, ... SCORr12

2-port error terms; see [SENSe<Ch>:]CORRection:DATA.

1 and 2 (S11, S12, S21, S22)

SCORr13

Directivity

3 (S33)

SCORr14

Source match

3 (S33)

SCORr15

Reflection tracking

3 (S33)

SCORr16

Isolation

3 (S31)

SCORr17

Load match

3 (S31)

SCORr18

Transmission tracking

3 (S13)

SCORr19

Isolation

1 (S13)

SCORr20

Load match

1 (S13)

SCORr21

Transmission tracking

1 (S13)

SCORr22

Isolation

3 (S32)

SCORr23

Load match

3 (S32)

SCORr24

Transmission tracking

3 (S32)

SCORr25

Isolation

2 (S23)

SCORr26

Load match

2 (S23)

SCORR27

Transmission tracking

2 (S23)

 

 

Use the generalized command [SENSe<Ch>:]CORRection:COLLect:CDATa to read or write error terms for arbitrary analyzer ports.


CALCulate<Chn>:DATA:NSWeep?
SDATa, <Trace_Hist_Count>

Reads the response values of a trace acquired in single sweep mode (INITiate<Ch>:CONTinuous OFF). The trace can be any of the traces acquired during the single sweep cycle.

<Chn>

Channel number used to identify the active trace.

 

SDATa

Read unformatted sweep data (fixed parameter): Returns the real and imaginary part of each measurement point (2 values per trace point irrespective of the selected trace format).

<Trace_Hist_Count>

Number of sweep to be read. 1 denotes the last sweep acquired, 2 denotes the second-last and so forth.

Range [def. unit]

1 to sweep count defined via [SENSe<Ch>:]SWEep:COUNt [–]

*RST value

 

SCPI, Command Types

Device-specific, query only

 

Example (see also Sweep History):

SWE:COUN 10

Define the number of sweeps (10) to be measured in single sweep mode.

INIT:CONT OFF; INIT

Activate single sweep mode and start a single sweep in channel no. 1.

CALC:DATA:NSW? SDAT,5

Query the results of the 5th sweep.

 


CALCulate<Chn>:DATA:STIMulus?

Reads the stimulus values of the active data or memory trace.

<Chn>

Channel number used to identify the active trace.

 

Parameters

Range [def. unit]

The data is transferred in the data format defined via FORMat[:DATA]. The unit is the default unit of the sweep variable (Hz or dBm or s).  

*RST value

 

SCPI, Command Types

Device-specific, query only

 

Example:

See CALCulate<Chn>:DATA?